package com.csnf.entity;

public class Courses {
    private int id;
    private String name;
    private int count;
    private int studentId;
    private String endTime;
    private String teacher;

    private Courses(){

    }

    @Override
    public String toString() {
        return "Courses{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", studentId=" + studentId +
                ", endTime='" + endTime + '\'' +
                ", teacher='" + teacher + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public Courses(int id, String name, int count, int studentId, String endTime, String teacher) {
        this.id = id;
        this.name = name;
        this.count = count;
        this.studentId = studentId;
        this.endTime = endTime;
        this.teacher = teacher;
    }
}
